[IA64] Support domU coredump on ia64
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Mon, 24 Jul 2006 20:26:03 +0000 (14:26 -0600)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Mon, 24 Jul 2006 20:26:03 +0000 (14:26 -0600)
commit9d20d1268d20d5fad545586ecde59516339d66d1
tree6ea92120a40a310bfa75658269f7f614e803be71
parent602e69d32065b7168f30ba71e23a728c85b90ef8
[IA64] Support domU coredump on ia64

This patch supports domU coredump on ia64.  xen_panic_event() is
registered to panic_notifier_list, and xen_panic_event() calls
HYPERVISOR_shutdown(SHUTDOWN_crash) at panic time.

If xend is notified of crash status, xend calls dumpCore()
and create domU's core in /var/xen/dump.

For sample crash module and usage, see:

http://lists.xensource.com/archives/html/xen-ia64-devel/2006-07/msg00230.html

Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
[minor code re-arrangement]
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
linux-2.6-xen-sparse/arch/ia64/kernel/setup.c